﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200100F RID: 4111
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueTournExpNotify : IMessage<RogueTournExpNotify>, IMessage, IEquatable<RogueTournExpNotify>, IDeepCloneable<RogueTournExpNotify>, IBufferMessage
	{
		// Token: 0x170033FF RID: 13311
		// (get) Token: 0x0600B7EA RID: 47082 RVA: 0x001F03F0 File Offset: 0x001EE5F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueTournExpNotify> Parser
		{
			get
			{
				return RogueTournExpNotify._parser;
			}
		}

		// Token: 0x17003400 RID: 13312
		// (get) Token: 0x0600B7EB RID: 47083 RVA: 0x001F03F7 File Offset: 0x001EE5F7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueTournExpNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003401 RID: 13313
		// (get) Token: 0x0600B7EC RID: 47084 RVA: 0x001F0409 File Offset: 0x001EE609
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueTournExpNotify.Descriptor;
			}
		}

		// Token: 0x0600B7ED RID: 47085 RVA: 0x001F0410 File Offset: 0x001EE610
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournExpNotify()
		{
		}

		// Token: 0x0600B7EE RID: 47086 RVA: 0x001F0418 File Offset: 0x001EE618
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournExpNotify(RogueTournExpNotify other) : this()
		{
			this.exp_ = other.exp_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600B7EF RID: 47087 RVA: 0x001F043D File Offset: 0x001EE63D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournExpNotify Clone()
		{
			return new RogueTournExpNotify(this);
		}

		// Token: 0x17003402 RID: 13314
		// (get) Token: 0x0600B7F0 RID: 47088 RVA: 0x001F0445 File Offset: 0x001EE645
		// (set) Token: 0x0600B7F1 RID: 47089 RVA: 0x001F044D File Offset: 0x001EE64D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Exp
		{
			get
			{
				return this.exp_;
			}
			set
			{
				this.exp_ = value;
			}
		}

		// Token: 0x0600B7F2 RID: 47090 RVA: 0x001F0456 File Offset: 0x001EE656
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueTournExpNotify);
		}

		// Token: 0x0600B7F3 RID: 47091 RVA: 0x001F0464 File Offset: 0x001EE664
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueTournExpNotify other)
		{
			return other != null && (other == this || (this.Exp == other.Exp && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600B7F4 RID: 47092 RVA: 0x001F0494 File Offset: 0x001EE694
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Exp != 0U)
			{
				num ^= this.Exp.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600B7F5 RID: 47093 RVA: 0x001F04D3 File Offset: 0x001EE6D3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600B7F6 RID: 47094 RVA: 0x001F04DB File Offset: 0x001EE6DB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600B7F7 RID: 47095 RVA: 0x001F04E4 File Offset: 0x001EE6E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Exp != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.Exp);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600B7F8 RID: 47096 RVA: 0x001F0518 File Offset: 0x001EE718
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Exp != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Exp);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600B7F9 RID: 47097 RVA: 0x001F0556 File Offset: 0x001EE756
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueTournExpNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Exp != 0U)
			{
				this.Exp = other.Exp;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600B7FA RID: 47098 RVA: 0x001F0587 File Offset: 0x001EE787
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600B7FB RID: 47099 RVA: 0x001F0590 File Offset: 0x001EE790
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 32U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.Exp = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04004A39 RID: 19001
		private static readonly MessageParser<RogueTournExpNotify> _parser = new MessageParser<RogueTournExpNotify>(() => new RogueTournExpNotify());

		// Token: 0x04004A3A RID: 19002
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004A3B RID: 19003
		public const int ExpFieldNumber = 4;

		// Token: 0x04004A3C RID: 19004
		private uint exp_;
	}
}
